package com.zbkj.service.service.water;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.water.RzDevice;
import com.zbkj.common.request.water.RzDeviceSaveRequest;
import com.zbkj.common.request.water.RzDeviceSearchRequest;

public interface RzDeviceService extends IService<RzDevice> {

    PageInfo<RzDevice> getPage(RzDeviceSearchRequest request);

    Boolean add(RzDeviceSaveRequest request);

    Boolean updateDevice(RzDeviceSaveRequest request);

    Boolean deleteById(Integer id);

    Boolean updateOnline(Integer id, Boolean online);
}
